<div class="row">
<table id="sortTableExample" class="zebra-striped">
    <thead>
        <tr>
            <th class="yellow header headerSortUp">Nom</th>
            <th class="blue header">Prénom</th>
            <th class="orange header">Adresse</th>
            <th class="green header">Ville</th>
            <th class="yellow header">Code postal</th>
            <th class="header">&nbsp;</th>

        </tr>
    </thead>
    <tbody>
        <?php foreach ($this->patient as $patient) : ?>

            <tr style="background-color:<?php echo $this->cycle(array("#F0F0F0", "#FFFFFF"))->next(); ?>" >
                <td><?php echo $this->escape($patient->nom); ?></td>
                <td><?php echo $this->escape($patient->prenom); ?></td>
                <td><?php echo $this->escape($patient->adresse); ?></td>
                <td><?php echo $this->escape($patient->ville); ?></td>
                <td><?php echo $this->escape($patient->cpostal); ?></td>
                <td>
                    <a href="<?php echo $this->url(array('controller' => 'patient', 'action' => 'edit', 'id' => $patient->id_patient)); ?>">Editer</a>
                    <a href="<?php echo $this->url(array('controller' => 'patient', 'action' => 'delete', 'id' => $patient->id_patient)); ?>">Supprimer</a>
                </td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<?php echo $this->paginationControl($this->patient, 'Sliding', 'common/paginator.phtml'); ?>
</div>
